package com.atguigu.bean;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
@Data
public class Attr {
    @Field(name = "category",type = FieldType.Keyword)
    String category;
    @Field(name = "brand",type = FieldType.Keyword)
    String brand;
}
